- 
		Home
	
 
	- 
The Events Calendar
 
- 
6.15.6
 
- 
Code
 
- 
Classes
 
-  Builder 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											207 | 
										
																			
											| Dependencies | 
											6 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,822 | 
										
																			
											| Lines of code | 
											886 | 
										
																			
											| Logical lines of code | 
											527 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											645 | 
										
																			
											| Methods | 
											46 | 
										
																			
											| Properties | 
											16 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 46
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| upsert() | 
									B  | 
																	34 | 
													16 | 
													90 | 
							
					
				| update() | 
									A  | 
																	43 | 
													11 | 
													50 | 
							
					
				| find_all() | 
									A  | 
																	42 | 
													10 | 
													48 | 
							
					
				| get() | 
									A  | 
																	45 | 
													10 | 
													43 | 
							
					
				| validate_rows() | 
									A  | 
																	44 | 
													9 | 
													49 | 
							
					
				| upsert_set() | 
									A  | 
																	41 | 
													8 | 
													62 | 
							
					
				| where() | 
									A  | 
																	45 | 
													8 | 
													45 | 
							
					
				| check_find_value_column() | 
									A  | 
																	54 | 
													9 | 
													20 | 
							
					
				| insert() | 
									A  | 
																	49 | 
													8 | 
													30 | 
							
					
				| get_sql() | 
									A  | 
																	50 | 
													8 | 
													30 | 
							
					
				| delete() | 
									A  | 
																	50 | 
													8 | 
													26 | 
							
					
				| first() | 
									A  | 
																	57 | 
													8 | 
													16 | 
							
					
				| prepare_list_of_values() | 
									S  | 
																	51 | 
													7 | 
													27 | 
							
					
				| count() | 
									S  | 
																	49 | 
													6 | 
													32 | 
							
					
				| get_count_rows_sql() | 
									S  | 
																	53 | 
													6 | 
													24 | 
							
					
				| all() | 
									S  | 
																	52 | 
													6 | 
													23 | 
							
					
				| where_in() | 
									S  | 
																	54 | 
													5 | 
													20 | 
							
					
				| where_not_in() | 
									S  | 
																	54 | 
													5 | 
													20 | 
							
					
				| create_placeholders() | 
									S  | 
																	57 | 
													5 | 
													17 | 
							
					
				| query() | 
									S  | 
																	54 | 
													4 | 
													22 | 
							
					
				| find() | 
									S  | 
																	54 | 
													4 | 
													21 | 
							
					
				| exists() | 
									S  | 
																	57 | 
													4 | 
													17 | 
							
					
				| get_where_clause() | 
									S  | 
																	57 | 
													4 | 
													17 | 
							
					
				| refresh() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| create_collection() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| get_order_by_clause() | 
									S  | 
																	65 | 
													3 | 
													8 | 
							
					
				| create_replacements_values() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| join() | 
									S  | 
																	61 | 
													2 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| generate_cache_key() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| order_by() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| limit() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| output() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| class_enable_query_execution() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| builder_instance() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| has_invalid_queries() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| queries() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| enable_query_execution() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| set_batch_size() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| invalid_operator() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| offset() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| set_data_to_model() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| where_raw() | 
									S  | 
																	63 | 
													1 | 
													10 | 
							
					
				| pluck() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| map() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| use_query_cache() | 
									S  | 
																	80 | 
													1 | 
													3 |